home *** CD-ROM | disk | FTP | other *** search
- Path: cpsc.ucalgary.ca!yuzwa
- From: yuzwa@cpsc.ucalgary.ca (Erik Yuzwa)
- Newsgroups: comp.lang.c++
- Subject: UGENT! Help on iostreams!
- Date: 26 Mar 1996 02:29:10 GMT
- Organization: University of Calgary CPSC
- Message-ID: <4j7kpm$lpv@linux.cpsc.ucalgary.ca>
- NNTP-Posting-Host: fsf.cpsc.ucalgary.ca
- X-Newsreader: TIN [version 1.2 PL2]
-
- I'm just doing some programming for an assignment in C++, and
- I want to know if there's a FAQ (or if anyone knows anything) on using
- the ios class.
-
- I'm trying to pass a file into functions, the only thing that compiles
- for me so far, is:
-
- ifstream infile("INFILE.TXT");
- .
- .
- .
- (then when I pass it to another function..)
- int Get_System_File(ifstream& infile)
-
- please email me if anyone knows anything about it (or where I can find some
- help)....
-
- Thank you very much.
- erik
-
-
- --
- |...............YUZWA@CPSC.UCALGARY.CA.............................|
- |"..The poor devil must've scrolled it in his deathroes using a
- combination of his own blood, and even his own intestinal tract."
- "Who would do that?"
- "Someone who BADLY needed a pen."
-
-